package del2;

public class Main2 {
	
	public static void main(String[] args) {

		Person person = new Person();
		
		try {
			person.setAge(-1);
		}

		catch (Exception e) {
			throw new IllegalArgumentException(e);
		}

		person.printAge();

	}
	
}
